func runtime.mallocgc
29 uses
runtime (current package)
chan.go#L96: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L102: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L107: c.buf = mallocgc(mem, elem, true)
iface.go#L137: t2 := (*itabTableType)(mallocgc((2+2*t.size)*goarch.PtrSize, nil, true))
iface.go#L332: x := mallocgc(t.Size_, t, true)
iface.go#L348: x := mallocgc(t.Size_, t, false)
iface.go#L360: x = mallocgc(2, uint16Type, false)
iface.go#L373: x = mallocgc(4, uint32Type, false)
iface.go#L383: x = mallocgc(8, uint64Type, false)
iface.go#L393: x = mallocgc(unsafe.Sizeof(val), stringType, true)
iface.go#L404: x = mallocgc(unsafe.Sizeof(val), sliceType, true)
malloc.go#L952: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1328: return mallocgc(typ.Size_, typ, true)
malloc.go#L1333: return mallocgc(typ.Size_, typ, true)
malloc.go#L1338: return mallocgc(typ.Size_, typ, true)
malloc.go#L1344: return mallocgc(typ.Size_, typ, true)
malloc.go#L1350: return mallocgc(mem, typ, true)
mfinal.go#L220: frame = mallocgc(framesz, nil, true)
slice.go#L57: to = mallocgc(tomem, nil, false)
slice.go#L63: to = mallocgc(tomem, et, true)
slice.go#L103: return mallocgc(mem, et, true)
slice.go#L266: p = mallocgc(capmem, nil, false)
slice.go#L274: p = mallocgc(capmem, et, true)
slice.go#L354: return unsafe.Slice((*byte)(mallocgc(uintptr(len), nil, false)), len)
string.go#L112: p = mallocgc(uintptr(n), nil, false)
string.go#L267: p := mallocgc(uintptr(size), nil, false)
string.go#L274: p := mallocgc(cap, nil, false)
string.go#L289: p := mallocgc(mem, nil, false)
string.go#L308: bp := mallocgc(uintptr(n), nil, false)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |